package nlp

import (
	// "github.com/go-chi/chi/v5"
	"gcp-api-proxy/internal/rest/routers"
)

type NLPRouter struct {
	*routers.RestRouter
}


var (
	PREFIX = "/nlp/"
)

// New initialization
func New(
	rr *routers.RestRouter,
) *NLPRouter {
	s := &NLPRouter{
		rr,
	}
	s.register()
	return s
}

func (s *NLPRouter) register() {
	r := s.ChiRouter()
	r.Post("/entity_extract", s.entity_extract)
}
